import openpyxl

if __name__ == '__main__':
    wb = openpyxl.load_workbook("./KeyMap.xlsx", data_only=True)
    sheetNames = wb.sheetnames
    for sheetName in sheetNames:
        print(sheetName)
        sheet = wb[sheetName]
        rowCount = sheet.max_row
        colCount = sheet.max_column
        for row in range(1, rowCount):
            for col in range(1, colCount):
                cellValue = sheet.cell(row, col).value
                print(cellValue, sep="\b")
